package com.shopcart.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("shopping_cart")
public class ShoppingCart {
    @TableId(type = IdType.ASSIGN_UUID)
    private String cartId;
    private String userId;
    private String productId;
    private Integer quantity;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}